//
//  KSLoginModel.swift
//  Merchant
//
//  Created by liuxm on 2017/8/8.
//  Copyright © 2017年 huanniu. All rights reserved.
//

import UIKit
import HandyJSON

/// 登录
class KSLoginModel: KSBaseModel {
    var data: KSUserInfoData?
    
    required init() {}
}

class KSUserInfoData: HandyJSON {
    var user: KSUserInfo?
    var token_type: String?
    var expires_in: Int?
    var access_token: String?
    
    required init() {}
}

class KSUserInfo: HandyJSON {
    var id: Int?
    var name: String?
    var email: String?
    var phone: String?
    var money: Int?
    var processing: Int?
    var frozen_pay: Int?
    var frozen_rec: Int?
    var open_id: Int?
    var main_id: Int?
    var redeem_code: Int?
    var created_at: String?
    var updated_at: String?
    var type: Int?
    
    required init() {}
}
